<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    input {
      opacity: 0;
      background-color: transparent;
      border: transparent;
      color: transparent;
      outline: none;
    }
    /* 让input隐藏但是还是可以触发行为 */
  </style>
</head>

<body>
  <input type="file" name="大家好" id="#">
</body>

</html>